+emacs23 (23.2+1-7) unstable; urgency=low
+
+ * Don't initialize the terminal twice. Previously a console-mode
+ Emacs would send the escape sequence to switch to the alternate
+ screen twice. At a minimum, this caused problems with screen.
+ Thanks to Courtney Bane <debian-bugs-5265@cbane.org> for the
+ report and the patch. (closes: #599463)
+
+ -- Rob Browning <rlb@defaultvalue.org> Sat, 11 Dec 2010 10:38:51 -0600
+
emacs23 (23.2+1-6) unstable; urgency=low
* Build-depend on "bsd-mailx | mailx" rather than just "mailx" since
--- /dev/null
+* The terminal should no longer be initialized twice.
+ Patch: do-not-initialize-terminal-twice.diff
+ Provided-by: Courtney Bane <debian-bugs-5265@cbane.org>
+ Date: Thu, 07 Oct 2010 12:58:15 -0500
+ Added-by: Rob Browning <rlb@defaultvalue.org>
+ Status: incorporated upstream
+
+ The Debian patch is taken from this upstream commit:
+
+ revno: 100029
+ author: Anonymous <emacs-bugs-7626@cbane.org>
+ committer: Stefan Monnier <monnier@iro.umontreal.ca>
+ branch nick: emacs-23
+ timestamp: Sat 2010-09-11 14:53:21 +0200
+ message:
+ * src/term.c (tty_set_terminal_modes): Don't initialize twice (bug#7002).
+
+--- a/src/ChangeLog
++++ b/src/ChangeLog
+@@ -1,3 +1,7 @@
++2010-09-11 Anonymous <emacs-bugs-7626@cbane.org> (tiny change)
++
++ * term.c (tty_set_terminal_modes): Don't initialize twice (bug#7002).
++
+ 2010-08-17 Andreas Schwab <schwab@linux-m68k.org>
+
+ * eval.c (Flet, Feval, Fapply, apply_lambda): Use SAFE_ALLOCA_LISP
+--- a/src/term.c
++++ b/src/term.c
+@@ -250,7 +250,6 @@
+ cmputc ('\n');
+ }
+
+- OUTPUT_IF (tty, tty->TS_termcap_modes);
+ OUTPUT_IF (tty, visible_cursor ? tty->TS_cursor_visible : tty->TS_cursor_normal);
+ OUTPUT_IF (tty, tty->TS_keypad_mode);
+ losecursor (tty);
use-safe-alloca-lisp-in-let-eval-apply-apply_lambda.diff
fix-gnus-output-to-mail-with-live-rmail-buffers.diff
fix-fc-dual-font-width-calculation.diff
+do-not-initialize-terminal-twice.diff